package com.design.pattern.visitor.spy;

/**
 * 读取情报的权限,只有实现了这个接口,采能拥有读取情报的权限
 */
public interface InformationReader<E> {
    /**
     * 读取情报
     * @param information
     */
    Object visit(DoubleInformation information);
    Object visit(SingleInformation information);
}
